package com.jxnu.domain;

import java.util.HashMap;

public class Test {

    public static void main(String[] args) {
        User category1 = new User("zhangsan",1);
        User category2 = new User("zhangsan",1);
        HashMap<User, String> map = new HashMap<>();
        map.put(category1,"100");
        map.put(category2,"200");
        System.out.println(map);
    }
}
